import request from '../../utils/request'

export default {
    show: (data, config) => request.get('/form/' + data.form_id, config),
    store: (data, config) => request.post('/form/' + data.form_id, data, config),
    update: (data, config) => request.put('/form/' + data.form_id, data, config),
    submitted: (data, config) => request.get('/form/' + data.form_id + '/submitted', config),
}